<template>
	<view class="bar">
		<view class="cancel md2Title middle" @click="clearAll">
			清除
		</view>
		
		<view class="confirm md2Title middle" @tap="confirmCity">
			确定
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},

	methods: {
		clearAll(){
			this.$emit('clearOut');
		},
		
		confirmCity(){
			this.$emit('confirm');
		}
	}
};
</script>

<style scoped lang="less">
	.bar{
		width: 100vw;
		height: 116upx;
		box-shadow: 0px -10px 80px rgba(167, 167, 167, 0.16);
		position: fixed;
		background: #FFFFFF;
		bottom: 0;
		left: 0;
		padding: 18upx 32upx;
		display: flex;
		justify-content: space-between;
		
			
		.cancel{
			width: 260upx;
			height: 80upx;
			background: #F5F5F5;
			border-radius: 66upx;
			color: #333;
		}
		.middle{
			text-align: center;
			line-height: 80upx;
			
		}
		
			
		.confirm{
			width: 398upx;
			height: 80upx;
			background: linear-gradient(110deg, #3465B1 0%, #5577AE 100%);
			border-radius: 150upx;
			color: #fff;
		}
	}
</style>
